/*******************************************************************************
* Copyright (c) 2010, 2018 西安秦晔信息科技有限公司
* Licensed under the Apache License, Version 2.0 (the "License");
*    you may not use this file except in compliance with the License.
*    You may obtain a copy of the License at
*
*       http://www.apache.org/licenses/LICENSE-2.0
*
*    Unless required by applicable law or agreed to in writing, software
*    distributed under the License is distributed on an "AS IS" BASIS,
*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*    See the License for the specific language governing permissions and
*    limitations under the License.
*******************************************************************************/
package com.qinyeit.serviceapp.entity;

import lombok.Builder;
import lombok.experimental.Tolerate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ClassName: DishesExtend <br/>
 * Function: 菜品扩展 <br/>
 * date: 2019-03-01 15:04:09 <br/>
 *
 * @author liuwenjin
 * @version  1.0
 * @since JDK 1.8
 */
@Builder
@Entity
@Table(name="dishes_extends")
public class DishesExtend extends MerchantGroupBaseEntity<Long> {

	private static final long serialVersionUID = 1L;

	// 菜品库 
    @Column(name="store_id")
	private Long storeId = null;

	// 字段名称 
    @Column(name="name", length = 300)
	private String name = null;


    @Tolerate
	public DishesExtend() {
		
	}
    @Tolerate
	public DishesExtend(Long id){
    	super.setId(id);
    }
	
	/**
	 * 获取菜品库
	 */
	public Long getStoreId() {
		return this.storeId;
	}

    /**
     * 设置菜品库
     */
	public DishesExtend setStoreId(Long storeId) {
		this.storeId = storeId;
		return this;
	}

	/**
	 * 获取字段名称
	 */
	public String getName() {
		return this.name;
	}

    /**
     * 设置字段名称
     */
	public DishesExtend setName(String name) {
		this.name = name;
		return this;
	}

}
